package com.fastloan.safe.mgt.auth.service.impl;

import com.fastloan.safe.mgt.auth.dao.CmuUserRoleMapper;
import com.fastloan.safe.mgt.auth.model.CmuUserRole;
import com.fastloan.safe.mgt.auth.service.CmuUserRoleService;
import com.kawins.base.BaseMapper;
import com.kawins.base.baseabs.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CmuUserRoleServiceImpl extends BaseServiceImpl<CmuUserRole> implements CmuUserRoleService {

    @Autowired
    private CmuUserRoleMapper userRoleMapper;

    @Override
    protected BaseMapper<CmuUserRole> buildDao() {
        return userRoleMapper;
    }

    @Override
    public void insertList(List<CmuUserRole> list) {
        userRoleMapper.insertList(list);
    }
}
